package com.nanhai.buddhist.college.module.study.controller.admin.attendancemanagementlog.vo;

import lombok.*;
import java.util.*;
import io.swagger.annotations.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;

import static com.nanhai.buddhist.college.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
* 请假审核记录 Base VO，提供给添加、修改、详细的子 VO 使用
* 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
*/
@Data
public class AttendanceManagementLogBaseVO {

    @ApiModelProperty(value = "请假id", required = true)
    @NotNull(message = "请假id不能为空")
    private String managementId;

    @ApiModelProperty(value = "审核前状态", required = true)
    @NotNull(message = "审核前状态不能为空")
    private Integer oldStatus;

    @ApiModelProperty(value = "审核后状态", required = true)
    @NotNull(message = "审核后状态不能为空")
    private Integer newStatus;

    @ApiModelProperty(value = "审核老师id", required = true)
    @NotNull(message = "审核老师id不能为空")
    private String checkTeacherId;

    @ApiModelProperty(value = "审核时间", required = true)
    @NotNull(message = "审核时间不能为空")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date checkTime;

    @ApiModelProperty(value = "审核备注", required = true)
    @NotNull(message = "审核备注不能为空")
    private String checkRemake;

    @ApiModelProperty(value = "备注")
    private String remark;

}
